package com.zzptc.shop.db;

import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;

public interface IDB {

    //连接数据库与关闭数据库的方法
    public Connection getConn()throws SQLException;

    public void closeAll(Connection conn, PreparedStatement ps, ResultSet rs)throws SQLException;
}
